package com.cyl.cloud_aipan.service;


import com.cyl.cloud_aipan.controller.req.AccountLoginReq;
import com.cyl.cloud_aipan.controller.req.AccountRegisterReq;
import com.cyl.cloud_aipan.dto.AccountDTO;
import org.springframework.web.multipart.MultipartFile;

public interface AccountService {
    void register(AccountRegisterReq req);

    String uploadAvatar(MultipartFile file);

    AccountDTO login(AccountLoginReq req);

    AccountDTO queryDetail(Long id);
}
